package com.lingshi.yingzaitownmap.mapper;

import com.lingshi.yingzaitownmap.entity.domain.Event;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EventMapper {


    /**
     * 查询
     * @param keyword 关键字
     * @return  List
     */
    List<Event> select(String  keyword);

    /**
     * 根据id查询
     * @param id  id
     * @return  Event
     */
    Event getById(String id);
}
